import type { MockMethod } from 'vite-plugin-mock'
import Mock from 'mockjs'
const Random = Mock.Random

export interface Permission {
  id: string
  name: string
  remark: string
}

export const PermissionTableRows = [
  {
    id: '1',
    name: 'route.view.HomeView',
    remark: '控制台页面',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  },
  {
    id: '2',
    name: 'test',
    remark: 'test',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  }
]

export default [] as MockMethod[]
